package Day3Zuoye;

import java.text.SimpleDateFormat;
import java.util.Calendar;

public class Test1 {
    public static void main(String[] args) {
        SimpleDateFormat s=new SimpleDateFormat("yyyy/MM/dd");
        Calendar c= Calendar.getInstance();
        c.set(2017+5,7-1,12);
        String t=s.format(c.getTime());
        System.out.println("失效时期:"+t);

    }
}
